package com.saiyaemon.blog.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.saiyaemon.blog.mapper.UserMapper;
import com.saiyaemon.blog.pojo.User;
import com.saiyaemon.blog.service.UserService;


/** 
 * @author  作者 SaiyaEmon
 * @date 创建时间：2017年11月30日 上午1:18:21 
 */
@Service("userService")
public class UserServiceImpl implements UserService{
	
	@Autowired
	UserMapper userMapper;

	@Override
	public User login(User user) {
		return userMapper.selectOne(user);
	}

}
